package com.pickup.mapper;

import com.pickup.pojo.ChatGroup;
import com.pickup.pojo.UserGroup;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GroupMapper {

    Integer createGroup(ChatGroup chatGroup);

    List<ChatGroup> searchGroup(String keyword);

    UserGroup findByGroup(String groupId);


}
